Skip to content

Improve salt generation and checking#3

Merged
joelsa merged 8 commits intomainfrom
joelsa/v020
May 6, 2026
Merged

Improve salt generation and checking#3
joelsa merged 8 commits intomainfrom
joelsa/v020

Conversation

@joelsa
Copy link
Copy Markdown
Member

@joelsa joelsa commented May 6, 2026

Automatically generate a salt if none is provided (fixes Issue #2), if a salt is entered it is being checked before prompting for a password (fixes Issue #1). Also, this let's the user actually choose between argon2 version 10 and version 13 hashes, this was unimplemented before.

I bumped the minor version because this means the program will generate a different output for the same input now, albeit only in failure cases, the happy flow should stay identical.

@joelsa joelsa requested a review from JuliDi May 6, 2026 10:07
Copy link
Copy Markdown
Member

@JuliDi JuliDi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, just two suggestions

Comment thread src/main.rs Outdated
Comment thread README.md
@joelsa joelsa merged commit fac0fab into main May 6, 2026
5 checks passed
@joelsa joelsa deleted the joelsa/v020 branch May 6, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants